(C) 1996 AROS - The Amiga Replacement OS


NAME
#include <intuition/classusr.h>
#include <proto/intuition.h>
APTR NewObjectA()
SYNOPSIS
struct IClass * classPtr
UBYTE * classID
struct TagItem * tagList

LOCATION
In IntuitionBase at offset 106
FUNCTION
Use this function to create BOOPSI objects (BOOPSI stands for "Basic Object Oriented Programming System for Intuition).

You may specify a class either by it's name (if it's a public class) or by a pointer to its definition (if it's a private class). If classPtr is NULL, classID is used.

INPUTS
classPtr
Pointer to a private class (or a public class if you happen to have a pointer to it)
classID
Name of a public class
tagList
Initial attributes. Read the documentation of the class carefully to find out which attributes must be specified here and which can.
RESULT
A BOOPSI object which can be manipulated with general functions and which must be disposed with DisposeObject() later.

NOTES
This functions send OM_NEW to the dispatcher of the class.

EXAMPLE
BUGS
SEE ALSO
DisposeObject(), SetAttrs(), GetAttr(), MakeClass(), "Basic Object-Oriented Programming System for Intuition" and "boopsi Class Reference" Dokument.
INTERNALS
HISTORY
21.07.1997 srittau
Chenged handling of NewObjectA()/OM_NEW to be more AmigaOS like.
20.03.1997 digulla
Fixed bug: Added FindClass()
27.01.1997 ldp
Polish
10.12.1996 aros
Moved #include into first column to allow makedepend to see it.
24.10.1996 aros
Use the official AROS macros over the __AROS versions.
23.10.1996 aros
Ooops.. PublicClassList is a MinNode list :-)
28.08.1996 digulla
Proportional gadgets BOOPSI